package com.staryy.activiti7_workflow.util;

import lombok.Data;

import java.io.Serializable;

@Data
public class AjaxResponse implements Serializable {

    private Integer status;

    private String msg;

    private Object obj;

    private AjaxResponse (Integer status,String msg,Object obj){
        this.status = status;
        this.msg = msg;
        this.obj = obj;
    }

    public static AjaxResponse AjaxData(Integer status,String msg,Object obj){
        return new AjaxResponse(status,msg,obj);
    }
}
